Function |try_to_i8
std/conv::|try_to_i8
Usage
|try_to_i8<T>(value)
Generics
◻ T: TryToI8
Parameters
↳ value: T
Return
↴ Option<i8>
Try to turn data into i8.
This function returns an Option containing value if conversion is successful.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
std/conv::|try_to_i8
|try_to_i8<T>(value)
◻ T: TryToI8
↳ value: T
↴ Option<i8>
Try to turn data into i8.
This function returns an Option containing value if conversion is successful.